package com.example.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.example.entity.Role;
import com.example.mapper.RoleMapper;
import com.example.service.RoleService;
@Service
@Transactional
public class RoleServiceImlp implements RoleService {
	@Autowired
	private RoleMapper roleMapper;
	
	private Role role;

	
	public int add(Role role) {
		
		return roleMapper.addRole(role);
	}


}
